package com.dxb.shardingjdbcmybatistenent.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dxb.shardingjdbcmybatistenent.entity.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 */
@Mapper
public interface GoodsRepository extends BaseMapper<Goods> {

    List<Goods> findAllByGoodsIdBetween(Long goodsId1, Long goodsId2);

    List<Goods> findAllByGoodsIdIn(List<Long> goodsIds);
}
